﻿/******************************************************   
创建者: ljj
创建时间: 2018-01-02
修改:
修改时间: 
功能: 单品有效计算实体
 ******************************************************/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using com.nm.Attributes;

namespace InventoryToPredictAPI.model
{
    public class GoodsSingleValidCalcMatInfoModel
    {
        /// <summary>
        /// 单品有效计算货号信息实体
        /// </summary>
        /// Writer：ljj
        /// Create Date：2018-01-02
        public class CreateModel : NeceModel
        {

            [ParamDescription("公司")]
            public string CompanyID { get; set; }
            [ParamDescription("数据源")]
            public string ExtrSource { get; set; }
            [ParamDescription("年份")]
            public long? YearV { get; set; }
            [ParamDescription("周")]
            public string WeekNo { get; set; }
        }
        /// <summary>
        /// 单品有效计算货号信息主要实体
        /// </summary>
        /// Writer：ljj
        /// Create Date：2018-01-02
        public class NeceModel
        {
            [ParamDescription("区域ID")]
            public string ParentAreaID { get; set; }
            [ParamDescription("货品简称")]
            public string MaterialShortName { get; set; }
            [ParamDescription("大类")]
            public string KindID { get; set; }
            [ParamDescription("子项目")]
            public string ItemOrSub { get; set; }
            [ParamDescription("货号")]
            public string MaterialID { get; set; }
            [ParamDescription("订单属性")]
            public string OrderAttribID { get; set; }
            [ParamDescription("性别")]
            public string SexID { get; set; }
            [ParamDescription("零售价")]
            public decimal? RetailPrice { get; set; }
            [ParamDescription("库存数量")]
            public long? StockQty { get; set; }
            [ParamDescription("近一周全国畅滞销状态")]
            public string AllCzpFlagNow { get; set; }
            [ParamDescription("累计全国畅滞销状态")]
            public string AllCzpFlag { get; set; }
            [ParamDescription("标准陈列量")]
            public long? DisplayQty { get; set; }
        }
        /// <summary>
        /// 单品有效计算货号信息实体
        /// </summary>
        /// Writer：ljj
        /// Create Date：2018-01-02
        public class ListModel:NeceModel
        {
            [ParamDescription("性别")]
            public string SexName { get; set; }
            [ParamDescription("大类")]
            public string KindName { get; set; }
            [ParamDescription("年份")]
            public string YearV { get; set; }
            [ParamDescription("周")]
            public string WeekNo { get; set; }
            [ParamDescription("回货后有效类型")]
            public string AfterReturnValidType { get; set; }
        }
        /// <summary>
        /// 单品有效计算货号信息显示实体
        /// </summary>
        /// Writer：ljj
        /// Create Date：2018-01-02
        public class ShowModel:NeceModel
        {
            [ParamDescription("年份")]
            public long? OutYear { get; set; }
            [ParamDescription("性别")]
            public string SexName { get; set; }
            [ParamDescription("大类")]
            public string KindName { get; set; }
            public IList<GoodsSingleValidCalcAfterInfoModel.NeceModel> AfterInfoList { get; set; }
        }
    }

    public class GoodsSingleValidCalcAfterInfoModel
    {
        /// <summary>
        /// 单品有效计算回货计算实体
        /// </summary>
        /// Writer：ljj
        /// Create Date：2018-01-02
        public class CreateModel: ListModel
        {
            [ParamDescription("公司")]
            public string CompanyID { get; set; }
            [ParamDescription("数据源")]
            public string ExtrSource { get; set; }
        }
        /// <summary>
        /// 单品有效计算回货计算主要实体
        /// </summary>
        /// Writer：ljj
        /// Create Date：2018-01-02
        public class NeceModel
        {
            [ParamDescription("年份")]
            public string YearV { get; set; }
            [ParamDescription("周")]
            public string WeekNo { get; set; }
            [ParamDescription("回货后有效类型")]
            public string AfterReturnValidType { get; set; }
        }
        /// <summary>
        /// 单品有效计算回货计算实体
        /// </summary>
        /// Writer：ljj
        /// Create Date：2018-01-02
        public class ListModel: NeceModel
        {
            [ParamDescription("区域ID")]
            public string ParentAreaID { get; set; }
            [ParamDescription("货号")]
            public string MaterialID { get; set; }
            [ParamDescription("期初库存")]
            public long? InitQty { get; set; }
            [ParamDescription("预计销售")]
            public long? PlanSaleQty { get; set; }
            [ParamDescription("回货数量")]
            public long? ReturnQty { get; set; }
            [ParamDescription("回货后数量")]
            public long? AfterReturnQty { get; set; }
            [ParamDescription("回货后有效数量")]
            public long? AfterReturnValidQty { get; set; }
            [ParamDescription("回货后有效吊牌金额")]
            public decimal? AfterReturnValidTagAmount { get; set; }
            [ParamDescription("店铺数")]
            public long? ShopCount { get; set; }
            [ParamDescription("结存数量")]
            public long? BalanceQty { get; set; }
        }
    }
}
